package com.acp.model;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class DcsCheck {

    /**
     * 序号
     */
    private String code;
    /**
     * 名称
     */
    private String name;
    /**
     * 面积
     */
    private double area;
    /**
     * 等级
     */
    private String grade;
    /**
     * 地址
     */
    private String address;
    /**
     * 范围
     */
    private String range;
    /**
     * 编号
     */
    private String number;
    /**
     * 长度
     */
    private double length;
    /**
     * 宽度
     */
    private double width;
    /**
     * 桥梁
     */
    private String bridge;
    /**
     * 类型
     */
    private String type;
    /**
     * 年代
     */
    private String dynasty;
    /**
     * 单位
     */
    private String unit;
    /**
     * 树龄
     */
    private Integer age;

    public DcsCheck() {
    }

    public DcsCheck(String name, double area, String grade) {
        this.name = name;
        this.area = area;
        this.grade = grade;
    }

    public DcsCheck(String code, String name, double area, String grade, String address, String range, String number, double length, double width, String bridge, String type, String dynasty, String unit, Integer age) {
        this.code = code;
        this.name = name;
        this.area = area;
        this.grade = grade;
        this.address = address;
        this.range = range;
        this.number = number;
        this.length = length;
        this.width = width;
        this.bridge = bridge;
        this.type = type;
        this.dynasty = dynasty;
        this.unit = unit;
        this.age = age;
    }
}
